<template>
  <div style="padding: 0 20%; margin-top: 50px">
    <vw-container>
      <vw-header>Header</vw-header>
      <vw-main>Main</vw-main>
    </vw-container>

    <vw-container>
      <vw-header>Header</vw-header>
      <vw-main>Main</vw-main>
      <vw-footer>Footer</vw-footer>
    </vw-container>

    <vw-container>
      <vw-aside width="200px">Aside</vw-aside>
      <vw-main>Main</vw-main>
    </vw-container>

    <vw-container>
      <vw-header>Header</vw-header>
      <vw-container>
        <vw-aside width="200px">Aside</vw-aside>
        <vw-main>Main</vw-main>
      </vw-container>
    </vw-container>

    <vw-container>
      <vw-header>Header</vw-header>
      <vw-container>
        <vw-aside width="200px">Aside</vw-aside>
        <vw-container>
          <vw-main>Main</vw-main>
          <vw-footer>Footer</vw-footer>
        </vw-container>
      </vw-container>
    </vw-container>

    <vw-container>
      <vw-aside width="200px">Aside</vw-aside>
      <vw-container>
        <vw-header>Header</vw-header>
        <vw-main>Main</vw-main>
      </vw-container>
    </vw-container>

    <vw-container>
      <vw-aside width="200px">Aside</vw-aside>
      <vw-container>
        <vw-header>Header</vw-header>
        <vw-main>Main</vw-main>
        <vw-footer>Footer</vw-footer>
      </vw-container>
    </vw-container>
  </div>
</template>

<script>
  export default {
    name: 'Container'
  }
</script>

<style>
  .vw-header,
  .vw-footer {
    background-color: #b3c0d1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .vw-aside {
    background-color: #d3dce6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }

  .vw-main {
    background-color: #e9eef3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }

  body > .vw-container {
    margin-bottom: 40px;
  }

  .vw-container:nth-child(5) .vw-aside,
  .vw-container:nth-child(6) .vw-aside {
    line-height: 260px;
  }

  .vw-container:nth-child(7) .vw-aside {
    line-height: 320px;
  }
</style>
